package com.jdrx.sw.sewage.beans.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@ApiModel(value = "AlarmCurveSnapVO", description = "告警曲线快照相关")
public class AlarmCurveSnapVO {

    @ApiModelProperty(value = "告警关联id")
    private Long alarmId;

    @ApiModelProperty(value = "告警值")
    private Double alarmValue;

    @ApiModelProperty(value = "记录时间（时间颗粒度为1小时）")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date updateTime;
}